<template>
	<view class="box">
		<pageheader :setting="settingdata"></pageheader>

		<view class="maskcontent">
			<image src="../../static/img/succ.png" mode=""></image>
			<view class="masktitle">发布成功!</view>
			<view class="maskmetions f32">请前往 个人中心-我的苗店 </view>
			<view class="f32">查看发布内容！</view>
			<view class="submitgo fa" @click="back">继续发布</view>
			<navigator url="/home/station/stationpage?operate=true" open-type="redirect" hover-class="none"
				class="submitgo go">前往苗店</navigator>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				settingdata: {
					name: '发布供求',
					bgColor: '#fff',
					titleColor: '#000000',
					showNav: true,
					showTypes: 0,
					position: "success"
				},
			};
		},

		methods: {
			back() {
				uni.redirectTo({
					url: '/home/submit/submitsupply'
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.box {
		background: #F3F3F3;
		width: 100%;
		height: 100vh;
	}

	.maskcontent {
		text-align: center;
		margin-top: 180rpx;

		image {
			width: 140rpx;
			height: 140rpx;
		}

		.masktitle {
			color: #30C98F;
			font-size: 44rpx;
		}

		.maskmetions {
			margin-top: 60rpx;
		}

		.f32 {
			font-size: 32rpx;
		}
	}

	.submitgo {
		margin: 54rpx auto 0;
		width: 340rpx;
		height: 100rpx;
		border-radius: 50rpx;
		text-align: center;
		line-height: 100rpx;
		color: #FFFFFF;
		font-size: 32rpx;
	}

	.fa {
		background: #30C98F;
	}

	.go {
		background: #fff;
		color: #1B1B1B;
		margin-top: 30rpx;
	}
</style>
